package reivew;

/**
 * @author oldliu
 * @since 1.0
 */
public class TestDouble {
    public static void main(String[] args) {
        int a=100,b=60,c=70;
        double avg=(a+b+c)*1.0/3;
        System.out.println(avg);
        avg=(int)((avg+0.005)*100)/100.0;
        System.out.println(avg);//
    }
}
